package com.nut.spp.api.admin;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.nut.spp.api.req.MemberInviteLogQueryReq;
import com.nut.spp.common.Result;
import com.nut.spp.entity.MemberInviteLog;
import com.nut.spp.service.MemberInviteLogService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@Slf4j
@RestController
@RequestMapping("/admin/memberInviteLog")
public class MemberInviteLogController {

    @Autowired
    private MemberInviteLogService memberInviteLogService;

    @GetMapping("/list")
    public Result<IPage<MemberInviteLog>> listPage(MemberInviteLogQueryReq req) {
        return memberInviteLogService.listPage(req);
    }


}